package itheima.d06;

import java.util.concurrent.*;

public class Test {
    public static void main(String[] args) {
        ExecutorService pool= new ThreadPoolExecutor(
                3,
                2,
                5,
                TimeUnit.DAYS,
                new ArrayBlockingQueue<>(2),
                Executors.defaultThreadFactory(),
               new ThreadPoolExecutor.AbortPolicy()
        );
    }
}
